package com.dkm.biz.gl.persistence.dao.impl;

import org.springframework.stereotype.Repository;

import com.dkm.base.db.mybatis.dao.MyBatisDaoImpl;
import com.dkm.biz.gl.persistence.dao.EavAttrOptionDao;
import com.dkm.biz.gl.persistence.entity.EavAttrOptionPo;

/**
 * 对象功能:属性选项表 Dao接口的实现类
 * 开发公司:SKG.COM
 * 开发人员:Yuki
 * 创建时间:2014-12-13 10:08:36
 */
@Repository
public class EavAttrOptionDaoImpl extends MyBatisDaoImpl<String, EavAttrOptionPo> implements EavAttrOptionDao{

    @Override
    public String getNamespace() {
        return EavAttrOptionPo.class.getName();
    }
    public void deleteOptionbyAttrId(String attrId){
    	this.deleteByKey("deleteOptionByAttrId", b().a("attrId", attrId).p());
    }
}
